package com.hyfrogx.modules.manage.form.flash;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @version 1.0.0
 * @Author: lfh
 * @Date: 2019/9/26 10:27
 * @Company 汉咏科技
 */
@Data
@ApiModel("快讯类型表单")
public class FlashTypeForm {

    private Integer id;

    /**
     * 快讯类型名称
     */
    @NotBlank(message = "快讯类型名称不能为空")
    @ApiModelProperty(value = "快讯类型名称")
    private String typeName;

    /**
     * 图标路径
     */
    @NotBlank(message = "说明不能为空")
    @ApiModelProperty(value = "说明")
    private String remark;
}
